package com.lfc.observer;

public class Client {
    public static void main(String[] args) {
        ConcreteSubject subject = new ConcreteSubject();
        // 注册具体的观察者
        subject.attach(new ConcreteObserver());
        subject.change("new Change!");
        subject.change1("pull 模式！");
    }
}
